import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
const store = new Vuex.Store({
  state: {
    token: "",
    role: "",
  },
  mutations: {
    TOKEN(state, newVal) {
      state.token = newVal;
    },
    ROLE(state, newVal) {
      state.role = newVal;
    },
  },
  actions: {},
});
export default store;
